﻿<UserControl x:Class="Interface.RegistrarNuevoCliente"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Width="543" Height="358" PreviewTextInput="UserControl_PreviewTextInput">
    <Grid Height="381" Background="White">
        <GroupBox Header="Registrar nuevo cliente" Height="325" HorizontalAlignment="Left" Margin="12,12,0,0" Name="groupBox1" VerticalAlignment="Top" Width="529" FontSize="16"></GroupBox>
        <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="26,93,0,0" Name="label1" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="114,98,0,0" Name="txbxNombre" VerticalAlignment="Top" Width="120" TextChanged="txbxNombre_TextChanged" />
        <Label Content="Direccion:" Height="28" HorizontalAlignment="Left" Margin="26,129,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="114,134,0,0" Name="txbxDireccion" VerticalAlignment="Top" Width="120" TextChanged="txbxDireccion_TextChanged" />
        <Label Content="Telefono:" Height="28" HorizontalAlignment="Left" Margin="26,166,0,0" Name="label3" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="114,171,0,0" Name="txbxTelefono" VerticalAlignment="Top" Width="120" TextChanged="txbxTelefono_TextChanged" MaxLength="7" />
        <Button IsEnabled="False" Content="Mapa" Height="36" HorizontalAlignment="Left" Margin="258,129,0,0" Name="btnMapa" VerticalAlignment="Top" Width="158" Click="btnMapa_Click" Background="#FF007EC1" Foreground="#FFFFFCFC"/>
        <Label  Height="28" HorizontalAlignment="Left" Margin="258,171,0,0" Name="lblErrorTelf" VerticalAlignment="Top" Foreground="#FFFA0000" />
        <Button Content="Registrar" Height="40" HorizontalAlignment="Left" Margin="189,253,0,0" Name="btnRegistrar" VerticalAlignment="Top" Width="174" Click="btnRegistrar_Click" Background="#FF007EC1" Foreground="#FFFFFCFC" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="114,60,0,0" Name="txbxCI" VerticalAlignment="Top" Width="120" TextChanged="txbxCI_TextChanged" />
        <Label Content="CI:" Height="28" HorizontalAlignment="Left" Margin="26,60,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Foreground="#FFFA0000" Height="28" HorizontalAlignment="Left" Margin="258,60,0,0" Name="lblErrorCi" VerticalAlignment="Top" />
        <Label Foreground="#FFFA0000" Height="28" HorizontalAlignment="Left" Margin="258,98,0,0" Name="lblErrorNombre" VerticalAlignment="Top" />
        <Label Foreground="#FFFA0000" Height="28" HorizontalAlignment="Left" Margin="189,219,0,0" Name="lblErrorGeneral" VerticalAlignment="Top" />
    </Grid>
</UserControl>
